/**
 * 慢SQL分析
 */
import request from '@/utils/request';

// 图查询
export function getMap(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/analysis/sql/getMap',
		method: 'get',
		params: query,
		headers: { VERSION: 'lishilei' },
	});
}
// 详情查询
export function getDetail(query: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/analysis/sql/getDetail',
		method: 'get',
		params: query,
		headers: { VERSION: 'lishilei' },
	});
}
